﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using BASE;

/// <summary>
/// Summary description for busKhoaNick
/// </summary>
public class busKhoaNick
{
	public busKhoaNick()
	{
		//
		// TODO: Add constructor logic here
		//
	}
    public bool checkKhoaNick(string masv, string trangthai)
    {
        datKhoaNick datKN = new datKhoaNick();
        return datKN.checkKhoaNick(masv, trangthai);
    }
    public void khoaNick(entKhoaNick entKN)
    {
        entKN.TrangThai = int.Parse( Constants.KHOA);
        entKN.NguoiKhoa = Utils.getIntSession("userid");
        new datKhoaNick().khoaNick(entKN);
    }
}